app.service('repayService',function($http){
    
  this.findRepayBill=function(bid){
    return $http({method:'get',
    url: "http://localhost:8082/trade/huankuan?bid=" + bid
    });
  }
  this.sendMsg=function(billId){
      return $http({method:'get',
      url: "http://localhost:8082/trade/sendMsg?billId=" + billId
    });
  }

  this.repaymentOrder=function(billId,code){
      return $http({method:'get',
      url: "http://localhost:8082/trade/repaymentOrder?billId="+billId+"&code="+code
    });
  }
})